package cn.lhz.service.impl;

import cn.lhz.dto.ItalyMonth;
import cn.lhz.mapper.ItalyMonthMapper;
import cn.lhz.service.ItalyMonthService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 年阔正
 * @version 1.0.0
 */
@Service
@RequiredArgsConstructor
public class ItalyMonthServiceImpl implements ItalyMonthService {

  private final ItalyMonthMapper ItalyMonthMapper;

  @Override
  public List<ItalyMonth> getItalyMonthData() {
    // 从Presto查询数据
    return ItalyMonthMapper.getItalyMonthData();
  }

}
